import {General, Authority} from '../request'

const {post, get} = General


// 预警列表
export const recordWarningList = params => get('/monitor/recordWarning/v1/queryList', {params})
// 监测点自动预警状态更改
export const updateMonitorAutoWarning = params => post('/project/project-monitor-point/v1/updateAutoWarning', params)
// 预警短信推送
export const pushMessage = params => post('/monitor/recordWarning/v1/pushMessage', params)
// 监测点预警清空
export const monitorWarningClean = params => post('/monitor/recordWarning/v1/clean', params)


export const recordWarningPushList = params => get('/monitor/recordWarning/v1/pushUserList', {params})
